package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.BywTiktokTicket;

import java.util.List;

/**
 * 抖音推送的ticketMapper接口
 * 
 * @author ruoyi
 * @date 2024-05-29
 */
public interface BywTiktokTicketMapper 
{
    /**
     * 查询抖音推送的ticket
     * 
     * @param id 抖音推送的ticket主键
     * @return 抖音推送的ticket
     */
    public BywTiktokTicket selectBywTiktokTicketById(Long id);

    /**
     * 查询抖音推送的ticket列表
     * 
     * @param bywTiktokTicket 抖音推送的ticket
     * @return 抖音推送的ticket集合
     */
    public List<BywTiktokTicket> selectBywTiktokTicketList(BywTiktokTicket bywTiktokTicket);

    /**
     * 新增抖音推送的ticket
     * 
     * @param bywTiktokTicket 抖音推送的ticket
     * @return 结果
     */
    public int insertBywTiktokTicket(BywTiktokTicket bywTiktokTicket);

    /**
     * 修改抖音推送的ticket
     * 
     * @param bywTiktokTicket 抖音推送的ticket
     * @return 结果
     */
    public int updateBywTiktokTicket(BywTiktokTicket bywTiktokTicket);

    /**
     * 删除抖音推送的ticket
     * 
     * @param id 抖音推送的ticket主键
     * @return 结果
     */
    public int deleteBywTiktokTicketById(Long id);

    /**
     * 批量删除抖音推送的ticket
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteBywTiktokTicketByIds(Long[] ids);

    void updateBywTiktokTicketByValue(String ticket);
}
